public class JWTProviderLocator extends Object
JWTProvider
.Constructor and Description |
---|
JWTProviderLocator() |
Modifier and Type | Method and Description |
---|---|
static JWTProvider |
getProvider()
Gets the default JWT provider using the current thread's context class
loader (lazy loading as necessary).
|
static JWTProvider |
newProvider(ClassLoader classLoader)
Gets a JWT provider.
|
public static JWTProvider getProvider() throws JWTException
JWTException
- if no provider can be locatedpublic static JWTProvider newProvider(ClassLoader classLoader) throws JWTException
classLoader
- to use for service loadingJWTException
- if no provider can be locatedCopyright © 2019. All rights reserved.