Click or drag to resize

OAuthConfigurationSection Class

OAuth2 configuration
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.OAuth.ConfigurationOAuthConfigurationSection

Namespace: SanteDB.Rest.OAuth.Configuration
Assembly: SanteDB.Rest.OAuth (in SanteDB.Rest.OAuth.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public class OAuthConfigurationSection : IConfigurationSection

The OAuthConfigurationSection type exposes the following members.

Constructors
 NameDescription
Public methodOAuthConfigurationSection Creates a new instance of the OAuth configuration
Top
Properties
 NameDescription
Public propertyAllowClientOnlyGrant When true, allows login using client_credentials without any node authentication
Public propertyEncodeScopes When true, scopes will be encoded with a ua. prefix to reduce the overall size of the issued JWT. Set this to false to provide the full unencoded oid in the scope.
Public propertyIssuerName Issuer name. This corresponds to the iss claim in any issued tokens.
Public propertyJwtSigningKey Gets the name of the key that is used to sign session
Public propertyLoginAssetPath Login asset directory
Public propertyLoginAssetSolution Which applet should be used for login assets on this instance.
Public propertyTokenType Gets or sets the token type to use
Public propertyValidateAppNameOnRefresh When true, a refresh token grant based token request will validate that the app name in the original grant matches the app name (client_id) of the request. The default is false.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also