001/*- 002 * #%L 003 * Smile CDR - CDR 004 * %% 005 * Copyright (C) 2016 - 2024 Smile CDR, Inc. 006 * %% 007 * All rights reserved. 008 * #L% 009 */ 010package ca.cdr.api.model.json; 011 012import java.util.List; 013import java.util.Set; 014 015public interface IOAuth2Session { 016 017 /** 018 * Does this session have any approved scopes 019 */ 020 boolean hasApprovedScopes(); 021 022 Set<String> getApprovedScopes(); 023 024 List<GrantedAuthorityJson> getAuthorities(); 025}