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

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

Go to download

Microsoft Authentication Library for Java gives you the ability to obtain tokens from Azure AD v2 (work and school accounts, MSA) and Azure AD B2C, gaining access to Microsoft Cloud API and any other API secured by Microsoft identities

There is a newer version: 1.18.0
Show newest version
// Generated by delombok at Tue Mar 28 02:58:15 UTC 2023
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;

import com.fasterxml.jackson.annotation.JsonProperty;

class Credential {
    @JsonProperty("home_account_id")
    protected String homeAccountId;
    @JsonProperty("environment")
    protected String environment;
    @JsonProperty("client_id")
    protected String clientId;
    @JsonProperty("secret")
    protected String secret;
    @JsonProperty("user_assertion_hash")
    protected String userAssertionHash;

    @java.lang.SuppressWarnings("all")
    public String homeAccountId() {
        return this.homeAccountId;
    }

    @java.lang.SuppressWarnings("all")
    public String environment() {
        return this.environment;
    }

    @java.lang.SuppressWarnings("all")
    public String clientId() {
        return this.clientId;
    }

    @java.lang.SuppressWarnings("all")
    public String secret() {
        return this.secret;
    }

    @java.lang.SuppressWarnings("all")
    public String userAssertionHash() {
        return this.userAssertionHash;
    }

    @java.lang.SuppressWarnings("all")
    public Credential homeAccountId(final String homeAccountId) {
        this.homeAccountId = homeAccountId;
        return this;
    }

    @java.lang.SuppressWarnings("all")
    public Credential environment(final String environment) {
        this.environment = environment;
        return this;
    }

    @java.lang.SuppressWarnings("all")
    public Credential clientId(final String clientId) {
        this.clientId = clientId;
        return this;
    }

    @java.lang.SuppressWarnings("all")
    public Credential secret(final String secret) {
        this.secret = secret;
        return this;
    }

    @java.lang.SuppressWarnings("all")
    public Credential userAssertionHash(final String userAssertionHash) {
        this.userAssertionHash = userAssertionHash;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy