インターフェース OAuth2AuthenticatedPrincipal

    • メソッドの詳細

      • getAttribute

        @Nullable
        default <A> A getAttribute​(java.lang.String name)
        名前で OAuth 2.0 トークン属性を取得する
        型パラメーター:
        A - 属性の型
        パラメーター:
        name - 属性の名前
        戻り値:
        それ以外の場合は属性または null 
      • getAttributes

        java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
        OAuth 2.0 トークン属性を取得する
        戻り値:
        OAuth 2.0 トークン属性
      • getAuthorities

        java.util.Collection<? extends GrantedAuthority> getAuthorities()
        この OAuth 2.0 トークンに関連付けられた GrantedAuthority の Collection を取得します
        戻り値:
        OAuth 2.0 トークンオーソリティ