(Quick Reference)

s2-init-oauth2-provider

Purpose

Creates the domain class required to use the GORM backed ApprovalStore in the specified package.

The general format is:


grails s2-init-oauth2-approval <package> <approval>

Examples


grails s2-init-oauth2-approval com.yourapp Approval

Description

  • Updates grails-app/conf/Config.groovy with the domain class configuration setting and creates the domain class in grails-app/domain