Interface IIdentityProviderClient
Namespace: System.Dynamic.ExpandoObject
Syntax
public interface IIdentityProviderClient
Methods
GetAllAsync(CancellationToken)
Get all identity providers
Declaration
Task<ICollection<IdentityProvider>> GetAllAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<System.Collections.Generic.ICollection<IdentityProvider>>
Array of identity providers |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |
GetAllBasicInfosAsync(CancellationToken)
Get basic info for all providers
Declaration
Task<ICollection<IdentityProviderBasicInfo>> GetAllBasicInfosAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<System.Collections.Generic.ICollection<IdentityProviderBasicInfo>>
Array of identity provider basic information |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |
GetAsync(String, CancellationToken)
Get identity provider
Declaration
Task<IdentityProvider> GetAsync(string id, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
Identity provider ID. |
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<IdentityProvider>
Represents an identity provider defined in IdentityServer and its Picturepark configuration |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |
GetSynchronizableAttributesAsync(CancellationToken)
Get synchronizable attributes
Declaration
Task<ICollection<string>> GetSynchronizableAttributesAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<System.Collections.Generic.ICollection<System.String>>
Names of user attributes |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |
UpdateAsync(String, IdentityProviderEditable, CancellationToken)
Update identity provider
Declaration
Task<IdentityProvider> UpdateAsync(string id, IdentityProviderEditable provider, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
Identity provider ID. |
IdentityProviderEditable
provider
Update request |
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<IdentityProvider>
Represents an identity provider defined in IdentityServer and its Picturepark configuration |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkNotFoundException
Entity not found |
PictureparkConflictException
Version conflict |
PictureparkException
Internal server error |