TESTAuthentication Provider
class TESTAuthenticationProvider(name: String, privateKey: String, publicKey: String?, keyManager: KeyManagerInterface, keyId: String = REGISTER_KEY_NAME, customAttributes: Map<String, Any>? = null) : AuthenticationProvider
Authentication provider for generating authentication info using a TEST registration key.
Parameters
name
provider name. This name will be prepend to the generated UUID in JWT sub.
private Key
PEM encoded RSA private key.
public Key
PEM encoded RSA public key. This is optional. If not provided then will be derived from the private key.
key Manager
KeyManagerInterface instance to use for signing authentication info.
key Id
key ID of the TEST registration key which is obtained from the admin console.
custom Attributes
custom attributes to add to the issued authentication info.