Class ProfileMappingsClient
A client that communicates with the Okta management API.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public sealed class ProfileMappingsClient : OktaClient, IOktaClient, IProfileMappingsClient
Methods
GetProfileMappingAsync(String, CancellationToken)
Fetches a single Profile Mapping referenced by its ID.
Declaration
public Task<IProfileMapping> GetProfileMappingAsync(string mappingId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | mappingId | |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IProfileMapping> | The IProfileMapping response. |
ListProfileMappings(String, Nullable<Int32>, String, String)
Enumerates Profile Mappings in your organization with pagination.
Declaration
public ICollectionClient<IProfileMapping> ListProfileMappings(string after = null, int? limit, string sourceId = null, string targetId = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | after | |
System.Nullable<System.Int32> | limit | |
System.String | sourceId | |
System.String | targetId |
Returns
Type | Description |
---|---|
ICollectionClient<IProfileMapping> | A collection of IProfileMapping that can be enumerated asynchronously. |
UpdateProfileMappingAsync(IProfileMapping, String, CancellationToken)
Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.
Declaration
public Task<IProfileMapping> UpdateProfileMappingAsync(IProfileMapping profileMapping, string mappingId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IProfileMapping | profileMapping | The IProfileMapping resource. |
System.String | mappingId | |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IProfileMapping> | The IProfileMapping response. |