Method CreateWithSessionToken
CreateWithSessionToken()
Creates a new instance of
IAMAuthorizationProvider
using session token-based authentication with the default OCI
configuration file and the default profile name.
Declaration
public static IAMAuthorizationProvider CreateWithSessionToken()
Returns
See Also
CreateWithSessionToken(String)
Creates a new instance of
IAMAuthorizationProvider
using session token-based authentication with the default OCI
configuration file and the specified profile name.
Declaration
public static IAMAuthorizationProvider CreateWithSessionToken(string profileName)
Parameters
Type |
Name |
Description |
String |
profileName |
Name of the profile within the OCI
configuration file. |
Returns
See Also
CreateWithSessionToken(String, String)
Creates a new instance of
IAMAuthorizationProvider
using session token-based authentication with the specified OCI
configuration file and profile name.
Declaration
public static IAMAuthorizationProvider CreateWithSessionToken(string configFile, string profileName)
Parameters
Type |
Name |
Description |
String |
configFile |
The path (absolute or relative) to the
OCI configuration file. |
String |
profileName |
Name of the profile within the OCI
configuration file. If null , default profile name will be
used (see ProfileName). |
Returns
See Also