Class SecurityBase
Inheritance
System.Object
SecurityBase
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class SecurityBase : object
Constructors
|
Edit this page
View Source
SecurityBase(ICloudFoundryOptions, IManagementOptions, ILogger, HttpClient)
Declaration
public SecurityBase(ICloudFoundryOptions options, IManagementOptions mgmtOptions, ILogger logger = null, HttpClient httpClient = null)
Parameters
Fields
|
Edit this page
View Source
ACCESS_DENIED_MESSAGE
Declaration
public readonly string ACCESS_DENIED_MESSAGE
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
APPLICATION_ID_MISSING_MESSAGE
Declaration
public readonly string APPLICATION_ID_MISSING_MESSAGE
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public readonly string AUTHORIZATION_HEADER
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public readonly string AUTHORIZATION_HEADER_INVALID
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
BEARER
Declaration
public readonly string BEARER
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
CLOUDFOUNDRY_API_MISSING_MESSAGE
Declaration
public readonly string CLOUDFOUNDRY_API_MISSING_MESSAGE
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
CLOUDFOUNDRY_NOT_REACHABLE_MESSAGE
Declaration
public readonly string CLOUDFOUNDRY_NOT_REACHABLE_MESSAGE
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
DEFAULT_GETPERMISSIONS_TIMEOUT
Declaration
public readonly int DEFAULT_GETPERMISSIONS_TIMEOUT
Field Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Declaration
public readonly string ENDPOINT_NOT_CONFIGURED_MESSAGE
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
READ_SENSITIVE_DATA
Declaration
public readonly string READ_SENSITIVE_DATA
Field Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
GetPermissions(HttpResponseMessage)
Declaration
public async Task<Permissions> GetPermissions(HttpResponseMessage response)
Parameters
Type |
Name |
Description |
HttpResponseMessage |
response |
|
Returns
|
Edit this page
View Source
GetPermissionsAsync(String)
Declaration
public async Task<SecurityResult> GetPermissionsAsync(string token)
Parameters
Type |
Name |
Description |
System.String |
token |
|
Returns
|
Edit this page
View Source
IsCloudFoundryRequest(String)
Declaration
public bool IsCloudFoundryRequest(string requestPath)
Parameters
Type |
Name |
Description |
System.String |
requestPath |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Serialize(SecurityResult)
Declaration
public string Serialize(SecurityResult error)
Parameters
Returns
Type |
Description |
System.String |
|