Méthode | Description | |
---|---|---|
ApplicationRegistrationService ( ) : System |
Initializes a new instance of the ApplicationRegistrationService class. The parameters are read from the application configuration's appSettings keys 'WindowsAzure.OAuth.ServiceNamespace', 'WindowsAzure.OAuth.ServiceNamespaceManagementUserName', 'WindowsAzure.OAuth.ServiceNamespaceManagementUserKey' and 'WindowsAzure.OAuth.RelyingPartyName'.
|
|
ApplicationRegistrationService ( string serviceNamespace, string serviceNamespaceManagementUserName, string serviceNamespaceManagementUserKey, string relyingPartyName ) : System |
Initializes a new instance of the ApplicationRegistrationService class.
|
|
DelegationExists ( string clientId, AuthorizationServerIdentity delegatedIdentity, string scope ) : bool |
Verify if a delegation exists.
|
|
GetApplication ( string clientId ) : ApplicationRegistration |
Gets an application.
|
|
GetAuthorizationCode ( string clientId, AuthorizationServerIdentity delegatedIdentity, string scope ) : string |
Gets the authorization code.
|
|
GetDelegatedApplications ( string nameIdentifier, string identityProvider ) : IEnumerable |
Gets the delegated applications.
|
|
RegisterApplication ( string clientId, string clientSecret, string redirectUri, string name ) : void |
Registers an application.
|
|
RemoveApplication ( string clientId ) : void |
Removes an application.
|
|
RemoveDelegation ( string clientId, string nameIdentifier, string identityProvider ) : void |
Removes the delegation.
|
|
UpdateApplicationClientSecret ( string clientId, string clientSecret ) : void |
Updates an application client secret.
|
|
UpdateApplicationRedirectUri ( string clientId, string redirectUri ) : void |
Updates an application redirect Uri.
|
|
ValidateIncomingRequest ( OAuthMessage message, string &errorCode, string &errorDescription ) : bool |
This method validates the incoming request.
|
|
ValidateServiceIdentity ( OAuthMessage message, string &errorCode, string &errorDescription ) : bool |
Checks if the client_id and the redirect_uri are valid.
|
Méthode | Description | |
---|---|---|
CreateManagementServiceClient ( ) : FluentACS.ManagementService.ManagementService |
Creates the management service client.
|
public ApplicationRegistrationService ( ) : System | ||
Résultat | System |
public ApplicationRegistrationService ( string serviceNamespace, string serviceNamespaceManagementUserName, string serviceNamespaceManagementUserKey, string relyingPartyName ) : System | ||
serviceNamespace | string | The service namespace. |
serviceNamespaceManagementUserName | string | Name of the service namespace management user. |
serviceNamespaceManagementUserKey | string | The service namespace management user key. |
relyingPartyName | string | The relying party name. |
Résultat | System |
protected CreateManagementServiceClient ( ) : FluentACS.ManagementService.ManagementService | ||
Résultat | FluentACS.ManagementService.ManagementService |
public DelegationExists ( string clientId, AuthorizationServerIdentity delegatedIdentity, string scope ) : bool | ||
clientId | string | The client id. |
delegatedIdentity | AuthorizationServerIdentity | The delegated identity. |
scope | string | The scope. |
Résultat | bool |
public GetApplication ( string clientId ) : ApplicationRegistration | ||
clientId | string | The client id. |
Résultat | ApplicationRegistration |
public GetAuthorizationCode ( string clientId, AuthorizationServerIdentity delegatedIdentity, string scope ) : string | ||
clientId | string | The client id. |
delegatedIdentity | AuthorizationServerIdentity | The delegated identity. |
scope | string | The scope. |
Résultat | string |
public GetDelegatedApplications ( string nameIdentifier, string identityProvider ) : IEnumerable |
||
nameIdentifier | string | The name identifier. |
identityProvider | string | The identity provider. |
Résultat | IEnumerable |
public RegisterApplication ( string clientId, string clientSecret, string redirectUri, string name ) : void | ||
clientId | string | The client id. |
clientSecret | string | The client secret. |
redirectUri | string | The redirect URI. |
name | string | The name. |
Résultat | void |
public RemoveApplication ( string clientId ) : void | ||
clientId | string | The client id. |
Résultat | void |
public RemoveDelegation ( string clientId, string nameIdentifier, string identityProvider ) : void | ||
clientId | string | The client id. |
nameIdentifier | string | The name identifier. |
identityProvider | string | The identity provider. |
Résultat | void |
public UpdateApplicationClientSecret ( string clientId, string clientSecret ) : void | ||
clientId | string | The client id. |
clientSecret | string | The client secret. |
Résultat | void |
public UpdateApplicationRedirectUri ( string clientId, string redirectUri ) : void | ||
clientId | string | The client id. |
redirectUri | string | The redirect URI. |
Résultat | void |
public ValidateIncomingRequest ( OAuthMessage message, string &errorCode, string &errorDescription ) : bool | ||
message | OAuthMessage | The incoming reequest message. |
errorCode | string | The error code. |
errorDescription | string | Description of the error. |
Résultat | bool |
public ValidateServiceIdentity ( OAuthMessage message, string &errorCode, string &errorDescription ) : bool | ||
message | OAuthMessage | The message which contains the client_id and redirect_uri. |
errorCode | string | The error code. |
errorDescription | string | Description of the error. |
Résultat | bool |