org.springframework.security.oauth.common.signature
Interface OAuthSignatureMethodFactory
- All Known Implementing Classes:
- CoreOAuthSignatureMethodFactory
public interface OAuthSignatureMethodFactory
Factory for signature methods.
- Author:
- Ryan Heaton
getSignatureMethod
OAuthSignatureMethod getSignatureMethod(String methodName,
SignatureSecret signatureSecret,
String tokenSecret)
throws UnsupportedSignatureMethodException
- Get the signature method of the given name.
- Parameters:
methodName - The method name.signatureSecret - The signature secret.tokenSecret - The token secret.
- Returns:
- the signature method.
- Throws:
UnsupportedSignatureMethodException - If the specified signature method name isn't recognized or supported.
Copyright © 2013. All rights reserved.