001package com.nimbusds.openid.connect.provider.spi.grants; 002 003 004import com.nimbusds.oauth2.sdk.GrantType; 005 006import com.nimbusds.openid.connect.provider.spi.Lifecycle; 007 008 009/** 010 * OAuth 2.0 grant handler. 011 */ 012public interface GrantHandler extends Lifecycle { 013 014 015 /** 016 * Returns the handled grant type. 017 * 018 * @return The grant type; 019 */ 020 GrantType getGrantType(); 021}