Class AccessTokenProvider
- java.lang.Object
-
- com.cyberark.conjur.springboot.core.env.AccessTokenProvider
-
public class AccessTokenProvider extends Object
The type Access token provider.- Author:
- bnasslahsen
-
-
Constructor Summary
Constructors Constructor Description AccessTokenProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.cyberark.conjur.sdk.AccessTokengetJwtAccessToken(com.cyberark.conjur.sdk.ApiClient conjurClient, String jwtTokenPath, String authenticatorId)Gets jwt access token.com.cyberark.conjur.sdk.AccessTokengetNewAccessToken(com.cyberark.conjur.sdk.ApiClient conjurClient)Get new access token access token.
-
-
-
Method Detail
-
getNewAccessToken
public com.cyberark.conjur.sdk.AccessToken getNewAccessToken(com.cyberark.conjur.sdk.ApiClient conjurClient)
Get new access token access token.- Parameters:
conjurClient- the conjur client- Returns:
- the access token
-
getJwtAccessToken
public com.cyberark.conjur.sdk.AccessToken getJwtAccessToken(com.cyberark.conjur.sdk.ApiClient conjurClient, String jwtTokenPath, String authenticatorId) throws IOExceptionGets jwt access token.- Parameters:
conjurClient- the conjur clientjwtTokenPath- the jwt token pathauthenticatorId- the authenticator id- Returns:
- the jwt access token
- Throws:
IOException- the io exception
-
-