001package com.nimbusds.openid.connect.provider.spi.grants; 002 003 004import com.nimbusds.oauth2.sdk.GrantType; 005 006 007/** 008 * Marker interface for SAML 2.0 bearer assertion grant handlers. 009 */ 010public interface SAML2GrantHandler extends GrantHandler { 011 012 013 /** 014 * The handled grant type. 015 */ 016 GrantType GRANT_TYPE = GrantType.SAML2_BEARER; 017 018 019 @Override 020 default GrantType getGrantType() { 021 return GRANT_TYPE; 022 } 023}