Package com.thoughtworks.inspac.sdk.model

Types

ParsedSubjectInfo
Link copied to clipboard
data class ParsedSubjectInfo(nricNumber: String?, uuid: String)
ParseTokenParams
Link copied to clipboard
data class ParseTokenParams(nonce: String, host: String, clientId: String, idpPublicKey: String, servicePrivateKey: String)
Those are used to decrypt, verify signature, verify payload
TokenRequest
Link copied to clipboard
data class TokenRequest(url: String, httpEntity: HttpEntity<LinkedMultiValueMap<String, String>>)
Those are params for getting token by using restTemplate.
TokenRequestParams
Link copied to clipboard
data class TokenRequestParams(host: String, endPoint: String, clientId: String, clientSecret: String, redirectUri: String, code: String, grantType: String, contentType: String)
Those are params for generating TokenRequest for restTemplate.
TokenResponse
Link copied to clipboard
data class TokenResponse(accessToken: String, refreshToken: String, idToken: String, scope: String, expiresIn: Int, tokenType: String)
Those are token response from IDP.