C# Class B2CGraphShell.B2CGraphClient

Mostrar archivo Open project: AzureADQuickStarts/B2C-GraphAPI-DotNet Class Usage Examples

Private Properties

Property Type Description
SendGraphDeleteRequest Task
SendGraphPatchRequest Task
SendGraphPostRequest Task

Public Methods

Method Description
B2CGraphClient ( string clientId, string clientSecret, string tenant ) : Microsoft.IdentityModel.Clients.ActiveDirectory
CreateUser ( string json ) : Task
DeleteUser ( string objectId ) : Task
GetAllUsers ( string query ) : Task
GetApplications ( string query ) : Task
GetExtensions ( string appObjectId ) : Task
GetUserByObjectId ( string objectId ) : Task
RegisterExtension ( string objectId, string body ) : Task
SendGraphGetRequest ( string api, string query ) : Task
UnregisterExtension ( string appObjectId, string extensionObjectId ) : Task
UpdateUser ( string objectId, string json ) : Task

Private Methods

Method Description
SendGraphDeleteRequest ( string api ) : Task
SendGraphPatchRequest ( string api, string json ) : Task
SendGraphPostRequest ( string api, string json ) : Task

Method Details

B2CGraphClient() public method

public B2CGraphClient ( string clientId, string clientSecret, string tenant ) : Microsoft.IdentityModel.Clients.ActiveDirectory
clientId string
clientSecret string
tenant string
return Microsoft.IdentityModel.Clients.ActiveDirectory

CreateUser() public method

public CreateUser ( string json ) : Task
json string
return Task

DeleteUser() public method

public DeleteUser ( string objectId ) : Task
objectId string
return Task

GetAllUsers() public method

public GetAllUsers ( string query ) : Task
query string
return Task

GetApplications() public method

public GetApplications ( string query ) : Task
query string
return Task

GetExtensions() public method

public GetExtensions ( string appObjectId ) : Task
appObjectId string
return Task

GetUserByObjectId() public method

public GetUserByObjectId ( string objectId ) : Task
objectId string
return Task

RegisterExtension() public method

public RegisterExtension ( string objectId, string body ) : Task
objectId string
body string
return Task

SendGraphGetRequest() public method

public SendGraphGetRequest ( string api, string query ) : Task
api string
query string
return Task

UnregisterExtension() public method

public UnregisterExtension ( string appObjectId, string extensionObjectId ) : Task
appObjectId string
extensionObjectId string
return Task

UpdateUser() public method

public UpdateUser ( string objectId, string json ) : Task
objectId string
json string
return Task