Class EntraPemAuthMethod

java.lang.Object
io.jenkins.plugins.entraoauth.EntraAuthMethod
io.jenkins.plugins.entraoauth.EntraPemAuthMethod
All Implemented Interfaces:
Describable<EntraAuthMethod>

public class EntraPemAuthMethod extends EntraAuthMethod
PEM-certificate authentication method for Entra OAuth credentials.
  • Constructor Details

    • EntraPemAuthMethod

      @DataBoundConstructor public EntraPemAuthMethod(@CheckForNull Secret certificatePem, @CheckForNull Secret privateKeyPem, @CheckForNull Secret privateKeyPassword)
  • Method Details

    • getCertificatePem

      public Secret getCertificatePem()
    • getPrivateKeyPem

      public Secret getPrivateKeyPem()
    • getPrivateKeyPassword

      public Secret getPrivateKeyPassword()
    • createClientCredential

      protected com.microsoft.aad.msal4j.IClientCredential createClientCredential() throws Exception
      Description copied from class: EntraAuthMethod
      Creates an MSAL client credential for this authentication method.
      Specified by:
      createClientCredential in class EntraAuthMethod
      Throws:
      Exception