lib/msidp/certificate_credential.rb
# JWS payload of the JWT claim.
#
# @return [String] JSON string of the JWS payload.
JWS payload of the JWT claim.
JWS payload of the JWT claim .
def payload
      not_after = @cert.not_after.to_i
      not_before = @cert.not_before.to_i
      jti = make_jwt_id
      payload = {
        aud: "https://login.microsoftonline.com/#{tenant}/v2.0",
        exp: not_after, iss: client_id, jti: jti,
        nbf: not_after, sub: client_id, iat: not_before
      }
      JSON.dump(payload)
    end
def payload not_after = @cert . not_after . to_i not_before = @cert . not_before . to_i jti = make_jwt_id payload = { aud : "https://login.microsoftonline.com/#{tenant}/v2.0" , exp : not_after , iss : client_id , jti : jti , nbf : not_after , sub : client_id , iat : not_before } JSON . dump ( payload ) end
JWS payload of the JWT claim.
JWS payload of the JWT claim .
JSON string of the JWS payload.
JSON string of the JWS payload .
String