FakeCognito
class FakeCognito(val pools: Storage<CognitoPool> = Storage.InMemory(), clock: Clock = Clock.systemUTC(), expiry: Duration = Duration.ofHours(1)) : ChaoticHttpHandler
Constructors
Link copied to clipboard
constructor(pools: Storage<CognitoPool> = Storage.InMemory(), clock: Clock = Clock.systemUTC(), expiry: Duration = Duration.ofHours(1))
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun FakeCognito.registerOAuthClient(id: ClientId, clientName: ClientName = ClientName.of(id.value)): Credentials
Helper method to create some OAuth Client credentials inside FakeCognito
Link copied to clipboard