Interface IUserClient
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NSwag", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public interface IUserClient
Methods
FindByExternalIdsAsync(IEnumerable<string>, CancellationToken)
Declaration
Task<ICollection<string>> FindByExternalIdsAsync(IEnumerable<string> externalIds, CancellationToken cancellationToken = default)
Parameters
IEnumerable<string> externalIds |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<ICollection<string>> |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |
GetAnonymousUserAsync(string, CancellationToken)
Declaration
Task<UserWithRoles> GetAnonymousUserAsync(string alias, CancellationToken cancellationToken = default)
Parameters
string alias |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<UserWithRoles> |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |
GetUserDeveloperFlagAsync(string, string, CancellationToken)
Declaration
Task<bool> GetUserDeveloperFlagAsync(string alias, string id, CancellationToken cancellationToken = default)
Parameters
string alias |
string id |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<bool> |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |
UpdateUserDeveloperFlagAsync(string, UserDeveloperFlagUpdateRequest, CancellationToken)
Declaration
Task<bool> UpdateUserDeveloperFlagAsync(string alias, UserDeveloperFlagUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
string alias |
UserDeveloperFlagUpdateRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<bool> |
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |