public interface SocialAuthenticationServiceLocator extends ConnectionFactoryLocator
修飾子と型 | メソッドと説明 |
---|---|
SocialAuthenticationService<?> | getAuthenticationService(StringSE providerId) SocialAuthenticationService を providerId で検索します (例: "facebook" )。 |
SetSE<StringSE> | registeredAuthenticationProviderIds() SocialAuthenticationService が登録されている providerIds のセットを返します (例: {"twitter", "facebook", "foursquare" } )。 |
getConnectionFactory, getConnectionFactory, registeredProviderIds
SocialAuthenticationService<?> getAuthenticationService(StringSE providerId)
SocialAuthenticationService
を providerId で検索します (例: "facebook" )。providerId
- 認証サービスを見つけるために使用されるプロバイダー IDSetSE<StringSE> registeredAuthenticationProviderIds()
SocialAuthenticationService
が登録されている providerIds のセットを返します(例: {"twitter", "facebook", "foursquare" }
)。このセット内の要素を getAuthenticationService(String)
に渡すことで、特定の認証サービスを取得できます。