public OauthProtectedValues(OauthValues val) { ClientId = val.ClientId; Tenant = val.Tenant; SignInPolicyId = val.SignInPolicyId; SignUpPolicyId = val.SignUpPolicyId; GetAccessScopes = val.GetAccessScopes; GetSubmissionScopes = val.GetSubmissionScopes; RedirectUri = val.RedirectUri; RefreshTokenSlidingWindowLifetime = val.RefreshTokenSlidingWindowLifetime; }
public AuthController(IOptions <OauthValues> oauthValues) { _oauthValues = oauthValues.Value; }