Package | Description |
---|---|
org.wildfly.security.credential.source |
Modifier and Type | Method and Description |
---|---|
static OAuth2CredentialSource.Builder |
OAuth2CredentialSource.builder(URL tokenEndpointUrl)
Creates a new
OAuth2CredentialSource.Builder instance in order to configure and build a OAuth2CredentialSource . |
OAuth2CredentialSource.Builder |
OAuth2CredentialSource.Builder.clientCredentials(String id,
String secret)
Configure OAuth2 Client Credentials Grant Type as defined by the OAuth2 specification.
|
OAuth2CredentialSource.Builder |
OAuth2CredentialSource.Builder.grantScopes(String scopes)
The scopes to grant access.
|
OAuth2CredentialSource.Builder |
OAuth2CredentialSource.Builder.useResourceOwnerPassword(String userName,
String password)
Configure OAuth2 Resource Owner Password Grant Type as defined by the OAuth2 specification.
|
OAuth2CredentialSource.Builder |
OAuth2CredentialSource.Builder.useSslContext(SSLContext sslContext)
TThe
SSLContext to be used in case connections to remote server require TLS/HTTPS. |
OAuth2CredentialSource.Builder |
OAuth2CredentialSource.Builder.useSslHostnameVerifier(HostnameVerifier hostnameVerifier)
TThe
HostnameVerifier to be used in case connections to remote server require TLS/HTTPS. |
Copyright © 2020 JBoss by Red Hat. All rights reserved.