Class ConfigurationBuilderExtensions
Inheritance
System.Object
ConfigurationBuilderExtensions
Namespace: Steeltoe.Security.Authentication.CloudFoundry
Assembly: Steeltoe.Security.Authentication.CloudFoundryCore.dll
Syntax
public static class ConfigurationBuilderExtensions : object
Methods
| Edit this page View SourceAddCloudFoundryContainerIdentity(IConfigurationBuilder, String, String)
Adds PEM files representing application identity to application configuration. When running outside Pivotal Platform, will create certificates resembling those found on the platform.
Declaration
public static IConfigurationBuilder AddCloudFoundryContainerIdentity(this IConfigurationBuilder builder, string orgId = null, string spaceId = null)
Parameters
Type | Name | Description |
---|---|---|
IConfigurationBuilder | builder | Your |
System.String | orgId | (Optional) A GUID representing an organization, for use with SameOrganizationAuthorizationPolicy authorization policy |
System.String | spaceId | (Optional) A GUID representing a space, for use with SameSpaceAuthorizationPolicy authorization policy |
Returns
Type | Description |
---|---|
IConfigurationBuilder |