org.refcodes.mixin.TokenAccessor
, org.refcodes.mixin.Validatable<BearerCredentials>
, BearerCredentials
public class BearerCredentialsImpl extends Object implements BearerCredentials
Modifier | Constructor | Description |
---|---|---|
protected |
BearerCredentialsImpl() |
Instantiates a new bearer credentials impl.
|
|
BearerCredentialsImpl(String aSecret) |
Instantiates a new bearer credentials impl.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getToken() |
isValid, isValid
protected String _token
protected BearerCredentialsImpl()
public BearerCredentialsImpl(String aSecret)
aSecret
- the secretpublic String getToken()
getToken
in interface org.refcodes.mixin.TokenAccessor
Copyright © 2018. All rights reserved.