Creates a mock OIDC Identity Provider.
import { OidcMockApi } from '@wheatstalk/oidc-mock'
new OidcMockApi(scope: Construct, id: string)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
- Type: constructs.Construct
- Type: string
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { OidcMockApi } from '@wheatstalk/oidc-mock'
OidcMockApi.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
authUrl |
string |
The URL for the auth endpoint. |
jwksUrl |
string |
The URL for the jwks endpoint. |
openidConfigurationUrl |
string |
The full URL to access the openid-configuration endpoint. |
restApi |
aws-cdk-lib.aws_apigateway.RestApi |
The REST API. |
tokenUrl |
string |
The URL for the token endpoint. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly authUrl: string;
- Type: string
The URL for the auth endpoint.
public readonly jwksUrl: string;
- Type: string
The URL for the jwks endpoint.
public readonly openidConfigurationUrl: string;
- Type: string
The full URL to access the openid-configuration endpoint.
public readonly restApi: RestApi;
- Type: aws-cdk-lib.aws_apigateway.RestApi
The REST API.
public readonly tokenUrl: string;
- Type: string
The URL for the token endpoint.