Package org.zalando.stups.tokens
Class JsonFileBackedUserCredentialsProvider
- java.lang.Object
-
- org.zalando.stups.tokens.AbstractJsonFileBackedCredentialsProvider
-
- org.zalando.stups.tokens.JsonFileBackedUserCredentialsProvider
-
- All Implemented Interfaces:
UserCredentialsProvider
public class JsonFileBackedUserCredentialsProvider extends AbstractJsonFileBackedCredentialsProvider implements UserCredentialsProvider
-
-
Constructor Summary
Constructors Constructor Description JsonFileBackedUserCredentialsProvider()
JsonFileBackedUserCredentialsProvider(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserCredentials
get()
Get theUserCredentials
generated by thisUserCredentialsProvider
-
Methods inherited from class org.zalando.stups.tokens.AbstractJsonFileBackedCredentialsProvider
getFile, read
-
-
-
-
Constructor Detail
-
JsonFileBackedUserCredentialsProvider
public JsonFileBackedUserCredentialsProvider()
-
JsonFileBackedUserCredentialsProvider
public JsonFileBackedUserCredentialsProvider(File file)
-
-
Method Detail
-
get
public UserCredentials get()
Description copied from interface:UserCredentialsProvider
Get theUserCredentials
generated by thisUserCredentialsProvider
- Specified by:
get
in interfaceUserCredentialsProvider
- Returns:
UserCredentials
that can be used to generate anAccessToken
.
-
-