All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.aad.msal4j.IntegratedWindowsAuthorizationGrant Maven / Gradle / Ivy

There is a newer version: 1.0.15
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.microsoft.aad.msal4j;

import java.util.List;
import java.util.Map;
import java.util.Set;

class IntegratedWindowsAuthorizationGrant extends AbstractMsalAuthorizationGrant {

    private final String userName;

    IntegratedWindowsAuthorizationGrant(Set scopes, String userName, ClaimsRequest claims) {
        this.userName = userName;
        this.scopes = String.join(" ", scopes);
        this.claims = claims;
    }

    @Override
    Map> toParameters() {
        return null;
    }

    String getUserName() {
        return userName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy